package com.qhx.admin.config.fisco;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.NestedConfigurationProperty;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

@Data
@Configuration
@ConfigurationProperties(prefix = "fisco")
@Component
public class FiscoConfig
{
  private String peers;

  private int groupId = 1;

  private String certPath = "conf";

  private String hexPrivateKey;

  
  @NestedConfigurationProperty
  private ContractConfig contract;
}
